package com.alipay.config;

import com.alipay.util.UtilDate;

/* *
 *类名：AlipayConfig
 *功能：基础配置类
 *详细：设置帐户有关信息及返回路径
 *版本：3.3
 *日期：2012-08-10
 *说明：
 *以下代码只是为了方便商户测试而提供的样例代码，商户可以根据自己网站的需要，按照技术文档编写,并非一定要使用该代码。
 *该代码仅供学习和研究支付宝接口使用，只是提供一个参考。

 *提示：如何获取安全校验码和合作身份者ID
 *1.用您的签约支付宝账号登录支付宝网站(www.alipay.com)
 *2.点击“商家服务”(https://b.alipay.com/order/myOrder.htm)
 *3.点击“查询合作者身份(PID)”、“查询安全校验码(Key)”

 *安全校验码查看时，输入支付密码后，页面呈灰色的现象，怎么办？
 *解决方法：
 *1、检查浏览器配置，不让浏览器做弹框屏蔽设置
 *2、更换浏览器或电脑，重新登录查询。
 */

public class AlipayConfig {

	//↓↓↓↓↓↓↓↓↓↓请在这里配置您的基本信息↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
	
	public static String app_id="2018011001761628";
	// 合作身份者ID，以2088开头由16位纯数字组成的字符串
	public static String partner_id = "2088921062799173";
	public static String partner = partner_id;
	public static String seller_user_id = partner;

	//App支付 请使用开放平台密码  网页支付请使用mapi网关产品秘钥
	//↑↑↑↑↑↑↑↑↑↑请在这里配置您的基本信息↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
	// 商户的私钥
	public static String private_key ="MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCJJGxMmifcaQ4WGqshtbLXlEJy/yy2bByquVD9UHRII33bnKR0j04icdQ5gwbmaGaoSDxY3dRl6GRSRPwszwlmUbj96aT3eJj0X0YAPeegwlkbGuTRS7ymqrvRKLXZl0a1ckSjY0xFOfnQu7rTY0qO92xy0/L2aURDxDuBkflSrt5nsZGcVL902xv3I1oZLWSVKoCnLGxDj1MCZ+g6Eqc9bEPplkV3I82E8ly29FA407v7/aqBhxlmx0cDeEPAmqqFMLQ3HrDTPEJVGxeZEsQun85AV8tq48XY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VT5iGfqn/jvL2kUbHluBn87mzp/Cg5F8Z9iwECgYEAgA8osm9/n1i3QO+GK4A0jYk357CAGQjcXv+MpeATQXFDCundszXgjvLV2xuoubJBhrygSmNgkq3YdNjNBW9cJGktvpAuMAIpEsnx7oKDSHcJKV467aesarPM+Ab14QGPWUAYvF9P6mNRVOzVB0/51TZ/MTVsKdesyutzmt8sFyw=";
	// 商户应用公钥(上传至支付宝开放平台上对应应用的商户公钥)
	public static String partner_public_key = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAiSRsTJon3GkOFhqrIbWy15RCcv8stmwcqrlQ/VB0SCN925ykdI9OInHUOYMG5mhmqEg8WN3UZehkUkT8LM8JZlG4/emk93iY9F9GAD3noMJZGxrk0Uu8pqq70Si12ZdGtXJEo2NMRTn50Lu602NKjvdsctPy9mlEQ8Q7gZH5Uq7eZ7GRnFS/dNsb9yNaGS1klSqApyxsQ49TAmfoOhKnPWxD6ZZFdyPNhPJctvRQONO7+/2qgYcZZsdHA3hDwJqqhTC0Nx6w0zxCVRsXmRLELp/OQFfLauPF2N6pZXD5h1EJdFWJjAJUb1bun3R+tu6AvcD67m/lKf/Trofy5ahuKQIDAQAB";
	// 支付宝的公钥，无需修改该值
	public static String ali_public_key  = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmsq0gnuLixy3FogOWEhFwsr6jBM8MhGAzT2ZZtsaSyD4emsJ6s27PQN2ebRBBVOH4lIT2ZNdB8E4r5val5zQNXz5cdMF1hHvfwse1esm5Z0Fqf7JW2SSlz4n+HS/MppnGyhmKQLs3uqyO80y+O2iYvA+Y97LrsqDA7cfytgVaYDzPjpKhQIAxGbR5/g4bUZC9+Sca/46LrqozOlCyi+Fd903diG6aXMQJ/P1W7b4jMwlJiLRqy4KtwP8Y3IX488PP6Yp3Ai+iHsSUCxFt9vPPnDa0rzupzSpgmZ0mkbvQIK59lwEB+Sq1TtJCDkyhq6bxI+6SBAuIRgQo2sqRuOWOQIDAQAB";
	
	//↑↑↑↑↑↑↑↑↑↑请在这里配置您的基本信息↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑

	// 调试用，创建TXT日志文件夹路径
	public static String log_path = "D:\\";

	// 字符编码格式 目前支持 gbk 或 utf-8
	public static String input_charset = "utf-8";

	// 签名方式 不需修改
	public static String sign_type = "RSA2";
	
	// 服务器异步通知页面路径  需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
	public static String notify_url = "";//"http://139.129.194.164:8080/pay/alipay";

	// 页面跳转同步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
	public static String return_url = "";//"http://139.129.194.164:8080/pay/alipay";


	 //退款日期 时间格式 yyyy-MM-dd HH:mm:ss
    public static String refund_date = UtilDate.getDateFormatter();
		
	// 调用的接口名，无需修改
    public static String refund_pwd_service = "refund_fastpay_by_platform_pwd";
	public static String refund_nopwd_service = "refund_fastpay_by_platform_nopwd";
	public static String seller_email="fgldkd@sina.com";

}
